import {t, api, message, bs} from "@/service/index.js"


export default {
    url: {
        titleList: "/knowledge/titleList",
        titleEdit: "/knowledge/titleEdit",
        titleDel: "/knowledge/titleDel",
        infoList: "/knowledge/infoList",
        infoEdit: "/knowledge/infoEdit",
        infoDel: "/knowledge/infoDel",
    },
    titleList(data) {
        return api.post(this.url.titleList, data)
    },
    titleEdit(data) {
        return api.post(this.url.titleEdit, data)
    },
    titleDel(data) {
        return api.post(this.url.titleDel, data)
    },
    infoList(data) {
        return api.post(this.url.infoList, data)
    },
    infoEdit(data) {
        return api.post(this.url.infoEdit, data)
    },
    infoDel(data) {
        return api.post(this.url.infoDel, data)
    }
}